/**
 * 功能:
 * 作者:周逸健
 * 日期: 2023/10/27 9:38
 */
package com.cgnfz.crm.entity.vo.request;

import jakarta.validation.constraints.Pattern;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
public class RegisterVO {

    @Length(max = 7, min = 7)
    @Pattern(regexp = "^[pP]\\d{6}$")
    String employeeId;
    @Length(max = 255, min = 1)
    String password;
    @Length(max = 11, min = 11)
    @Pattern(regexp = "^(13[0-9]|14[5-9]|15[0-3,5-9]|16[6]|17[0-8]|18[0-9]|19[8,9])\\d{8}$")
    String phone;

    String employee;

    String employeeCompany;

}
